package com.jn.moduledemo.financing;

import android.view.View;

import com.alibaba.android.arouter.launcher.ARouter;
import com.jn.moduledemo.common.base.BaseFragment;

public class MineFragment extends BaseFragment implements View.OnClickListener {
    @Override
    protected int getLayoutId() {
        return R.layout.fragment_mine;
    }

    @Override
    protected void init() {
        mView.findViewById(R.id.begin_button).setOnClickListener(this);
        mView.findViewById(R.id.begin_button1).setOnClickListener(this);
    }

    @Override
    protected void onFragmentChanged() {

    }

    @Override
    public void onClick(View v) {
        if (v.getId() == R.id.begin_button) {
            ARouter.getInstance().build("/login/LoginActivity").navigation();
        } else if (v.getId() == R.id.begin_button1) {
            ARouter.getInstance().build("/personal/PersonalActivity").navigation();
        }
    }
}
